import request from '@/utils/request';
import {AxiosPromise} from 'axios';


// 生成代码（自定义路径）
export const pageJson = (code: string) => {
    return request({
        headers: {datasource: localStorage.getItem('dataName')},
        url: '/amis/page/json/' + code,
        method: 'get'
    });
};

